package testDataGenerator.model.generationMethod;

import testDataGenerator.model.DataType;
import testDataGenerator.model.DataTypeFactory;
import testDataGenerator.model.GenerationMethod;

public class RandomMethod implements GenerationMethod {
	private DataType dt ;
	
	public RandomMethod(String type, DataTypeFactory factory){
		dt = factory.createDataType(type);
	}

	public String generate() {
		return dt.random();
	}


}
